<template>
  <scroll-view
    v-bind="$attrs"
    @scrolltolower="(event) => $emit('scrollToLower', event)"
    @scrolltoupper="$emit('scrollToUpper', event)"
    @refresherrefresh="$emit('refresherRefresh', event)"
    @refresherpulling="$emit('refresherPulling', event)"
    @refresherrestore="$emit('refresherRestore', event)"
  >
    <slot />
  </scroll-view>
</template>
<script>
export default {
  name: "TzScrollView",
  inheritAttrs: false,
  emits: [
    "scrollToLower",
    "scrollToUpper",
    "refresherRefresh",
    "refresherPulling",
    "refresherRestore",
  ],
  setup() {
    return {};
  },
};
</script>

<style></style>
